package com.example.night.service.ApiService.Token;

import org.springframework.context.ApplicationEvent;

public class TokenUpdatedEvent extends ApplicationEvent {
    private final String newToken;

    public TokenUpdatedEvent(Object source, String newToken) {
        super(source);
        this.newToken = newToken;
    }

    public String getNewToken() {
        return newToken;
    }
}
